package com.cac.demo.dao.mspartshelvesbasic;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

@Mapper
@Repository
public interface MsPartShelvesBasicDao {

    //条件查询
    public HashMap selectByMsPartShelvesId(String wmsLocatorId);

    //新增对象
    public int insertMsPartShelvesBasicDTO(@Param("bean") Map map);

    //更新对象
    public int updateMsPartShelvesBasic(@Param("bean") Map map);

    //按主键删除
    public int deleteMsPartShelvesBasic(String wmsLocatorId);

    //分页查询
    public Page<HashMap> searchMsPartShelvesBasicByPage(@Param("bean") HashMap map, @Param("orderBy") String orderBy, @Param("keyWords") String keyWords);

}
